package edu.usc.cmb.iRegulome.action;

import java.io.File;

import edu.usc.cmb.iRegulome.action.util.ScpDownload;
import edu.usc.cmb.iRegulome.action.util.ScpFile;
import edu.usc.cmb.iRegulome.action.util.SshConnection;
import edu.usc.cmb.iRegulome.action.util.SshException;

public class TestScp {

	public static void main(String[] args) {
		ScpFile scpFile = new ScpFile(new File("/home/hsy541/test.wig"),
				"/home/cmbpanfs-01/siyuanh/iRegulome/ChIP-seq/SRS006142/cexample.density.wig");
		ScpDownload sd = new ScpDownload(scpFile);
		SshConnection sc = new SshConnection("hpc-cmb.usc.edu", "siyuanh", "FENBeKU28nKh");
		
		try {
			sc.connect();
			sc.executeTask(sd);
			sc.disconnect();
		} catch (SshException e) {
			e.printStackTrace();
		}
		
		

	}

}
